package com.wxzz.elearing.user.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.wxzz.elearing.user.vo.DocentToolFileVo;
import com.wxzz.elearning.common.bean.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * <p>
 * 讲师工具
 * </p>
 *
 * @author
 * @since 2021-04-09
 */
@Data
@ApiModel(value = "DocentTool对象", description = "讲师工具")
public class DocentTool extends BaseEntity {

    @ApiModelProperty(value = "工具名称")
    private String toolName;

    @ApiModelProperty(value = "工具介绍")
    private String toolIntroduce;

    @ApiModelProperty(value = "文件类型 0-PDF 1-PPT")
    private Integer fileType;

    @ApiModelProperty(value = "文件url")
    private String url;

    @ApiModelProperty(value = "文件名  多个用,分隔 与文件url对应")
    private String fileName;

    @ApiModelProperty(value = "文件大小 多个用,分隔")
    private String fileSize;

    @ApiModelProperty(value = "班组id")
    private Integer departmentId;

    @ApiModelProperty(value = "企业id")
    private Long enterpriseId;

    @TableField(exist = false)
    @ApiModelProperty(value = "文件对象")
    private List<DocentToolFileVo> docentToolFileVoList;


}
